package com.tamo.ppresta.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * @author yeyang
 * @name ppresta
 * @class name：com.tamo.ppresta.bean
 * @class describe
 * @time 2022/12/26 20:34
 * @change
 * @chang time
 * @class describe
 */
public class GetRecommendItemsBean extends BaseBean{

    /**
     * total : 1
     * recommendItems : [{"loanoverItemCode":"PPR","sort":"1","productItemCode":"CEFA","productName":"T Crédito Fácil","showLoanDay":"91","fastPassDay":"1","downloadIos":"","downloadAndriod":"","interestRate":"0.1%","productLogoUrl":null,"maxAmount":"8000.0","minAmount":"8000.0","repayCount":"-1","pushCount":"-1","requestCount":"-1","tags":"'unset'","score":"4.8","canLoan":1,"maxRepayAmount":8424.7,"actualToAccountMoney":8000,"serviceFee":424.7,"lastLoanId":0,"userStatus":0,"userStatusShow":"0"}]
     */

    private int total;
    private ArrayList<RecommendItemsEntity> recommendItems;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public ArrayList<RecommendItemsEntity> getRecommendItems() {
        return recommendItems;
    }

    public void setRecommendItems(ArrayList<RecommendItemsEntity> recommendItems) {
        this.recommendItems = recommendItems;
    }

    public static class RecommendItemsEntity implements MultiItemEntity, Serializable {
        @Override
        public int getItemType() {
            return 0;
        }

        /**
         * loanoverItemCode : PPR
         * sort : 1
         * productItemCode : CEFA
         * productName : T Crédito Fácil
         * showLoanDay : 91
         * fastPassDay : 1
         * downloadIos :
         * downloadAndriod :
         * interestRate : 0.1%
         * productLogoUrl : null
         * maxAmount : 8000.0
         * minAmount : 8000.0
         * repayCount : -1
         * pushCount : -1
         * requestCount : -1
         * tags : 'unset'
         * score : 4.8
         * canLoan : 1
         * maxRepayAmount : 8424.7
         * actualToAccountMoney : 8000
         * serviceFee : 424.7
         * lastLoanId : 0
         * userStatus : 0
         * userStatusShow : 0
         */

        private String loanoverItemCode;
        private String sort;
        private String productItemCode;
        private String productName;
        private String showLoanDay;
        private String fastPassDay;
        private String downloadIos;
        private String downloadAndriod;
        private String interestRate;
        private String productLogoUrl;
        private String maxAmount;
        private String minAmount;
        private String repayCount;
        private String pushCount;
        private String requestCount;
        private String tags;
        private String score;
        private int canLoan;
        private double maxRepayAmount;
        private int actualToAccountMoney;
        private double serviceFee;
        private int lastLoanId;
        private int userStatus;
        private String userStatusShow;

        public String getLoanoverItemCode() {
            return loanoverItemCode;
        }

        public void setLoanoverItemCode(String loanoverItemCode) {
            this.loanoverItemCode = loanoverItemCode;
        }

        public String getSort() {
            return sort;
        }

        public void setSort(String sort) {
            this.sort = sort;
        }

        public String getProductItemCode() {
            return productItemCode;
        }

        public void setProductItemCode(String productItemCode) {
            this.productItemCode = productItemCode;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getShowLoanDay() {
            return showLoanDay;
        }

        public void setShowLoanDay(String showLoanDay) {
            this.showLoanDay = showLoanDay;
        }

        public String getFastPassDay() {
            return fastPassDay;
        }

        public void setFastPassDay(String fastPassDay) {
            this.fastPassDay = fastPassDay;
        }

        public String getDownloadIos() {
            return downloadIos;
        }

        public void setDownloadIos(String downloadIos) {
            this.downloadIos = downloadIos;
        }

        public String getDownloadAndriod() {
            return downloadAndriod;
        }

        public void setDownloadAndriod(String downloadAndriod) {
            this.downloadAndriod = downloadAndriod;
        }

        public String getInterestRate() {
            return interestRate;
        }

        public void setInterestRate(String interestRate) {
            this.interestRate = interestRate;
        }

        public String getProductLogoUrl() {
            return productLogoUrl;
        }

        public void setProductLogoUrl(String productLogoUrl) {
            this.productLogoUrl = productLogoUrl;
        }

        public String getMaxAmount() {
            return maxAmount;
        }

        public void setMaxAmount(String maxAmount) {
            this.maxAmount = maxAmount;
        }

        public String getMinAmount() {
            return minAmount;
        }

        public void setMinAmount(String minAmount) {
            this.minAmount = minAmount;
        }

        public String getRepayCount() {
            return repayCount;
        }

        public void setRepayCount(String repayCount) {
            this.repayCount = repayCount;
        }

        public String getPushCount() {
            return pushCount;
        }

        public void setPushCount(String pushCount) {
            this.pushCount = pushCount;
        }

        public String getRequestCount() {
            return requestCount;
        }

        public void setRequestCount(String requestCount) {
            this.requestCount = requestCount;
        }

        public String getTags() {
            return tags;
        }

        public void setTags(String tags) {
            this.tags = tags;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public int getCanLoan() {
            return canLoan;
        }

        public void setCanLoan(int canLoan) {
            this.canLoan = canLoan;
        }

        public double getMaxRepayAmount() {
            return maxRepayAmount;
        }

        public void setMaxRepayAmount(double maxRepayAmount) {
            this.maxRepayAmount = maxRepayAmount;
        }

        public int getActualToAccountMoney() {
            return actualToAccountMoney;
        }

        public void setActualToAccountMoney(int actualToAccountMoney) {
            this.actualToAccountMoney = actualToAccountMoney;
        }

        public double getServiceFee() {
            return serviceFee;
        }

        public void setServiceFee(double serviceFee) {
            this.serviceFee = serviceFee;
        }

        public int getLastLoanId() {
            return lastLoanId;
        }

        public void setLastLoanId(int lastLoanId) {
            this.lastLoanId = lastLoanId;
        }

        public int getUserStatus() {
            return userStatus;
        }

        public void setUserStatus(int userStatus) {
            this.userStatus = userStatus;
        }

        public String getUserStatusShow() {
            return userStatusShow;
        }

        public void setUserStatusShow(String userStatusShow) {
            this.userStatusShow = userStatusShow;
        }

        @Override
        public String toString() {
            return "RecommendItemsEntity{" +
                    "loanoverItemCode='" + loanoverItemCode + '\'' +
                    ", sort='" + sort + '\'' +
                    ", productItemCode='" + productItemCode + '\'' +
                    ", productName='" + productName + '\'' +
                    ", showLoanDay='" + showLoanDay + '\'' +
                    ", fastPassDay='" + fastPassDay + '\'' +
                    ", downloadIos='" + downloadIos + '\'' +
                    ", downloadAndriod='" + downloadAndriod + '\'' +
                    ", interestRate='" + interestRate + '\'' +
                    ", productLogoUrl='" + productLogoUrl + '\'' +
                    ", maxAmount='" + maxAmount + '\'' +
                    ", minAmount='" + minAmount + '\'' +
                    ", repayCount='" + repayCount + '\'' +
                    ", pushCount='" + pushCount + '\'' +
                    ", requestCount='" + requestCount + '\'' +
                    ", tags='" + tags + '\'' +
                    ", score='" + score + '\'' +
                    ", canLoan=" + canLoan +
                    ", maxRepayAmount=" + maxRepayAmount +
                    ", actualToAccountMoney=" + actualToAccountMoney +
                    ", serviceFee=" + serviceFee +
                    ", lastLoanId=" + lastLoanId +
                    ", userStatus=" + userStatus +
                    ", userStatusShow='" + userStatusShow + '\'' +
                    '}';
        }
    }
}